POV-Ray : Newsgroups : povray.newusers : bicubic_patch limitations? : bicubic_patch limitations? Server Time
29 Jul 2024 02:32:57 EDT (-0400)
  bicubic_patch limitations?  
From: Napivo
Date: 12 Jan 2007 05:25:01
Message: <web.45a761af6f5b502e3cd9c0860@news.povray.org>
I am pretty New to Povray and use Moray as well to generate scenes. But I
have a problem with the bicubic_patch.

What I wanted to do is generate a flat bicubic_patch where the start control
points are all at the same position. But it seems I loose the entire rounded
side and only display one the triangle. Even bringing the points close


This is the code I have

object { // BezPtch001
  object {
    bicubic_patch { type 1 flatness 0.0100 u_steps 3 v_steps 3,
      <1.000000, -2.000000, 0.000000>, <1.000000, -2.000000, 0.000000>,
<1.000000, -2.000000, 0.000000>, <1.000000, -2.000000, 0.000000>,
      <-2.000000, -1.000000, 0.000000>, <-1.000000, -1.000000, 0.000000>,
<0.000000, -1.000000, 0.000000>, <1.000000, -1.000000, 0.000000>,
      <-2.000000, 0.000000, 0.000000>, <-1.000000, 0.000000, 0.000000>,
<0.000000, 0.000000, 0.000000>, <1.000000, 0.000000, 0.000000>,
      <-2.000000, 1.000000, 0.000000>, <-1.000000, 1.000000, 0.000000>,
<0.000000, 1.000000, 0.000000>, <1.000000, 1.000000, 0.000000>
    }
  }
  material {
    Material2
  }
  translate  1.0*z
}

Bizarly enough moving some of the inner pounts up along the Z axis does
solve my problem for the most part. Like this.

object { // BezPtch001
  object {
    bicubic_patch { type 1 flatness 0.0050 u_steps 3 v_steps 3,
      <1.000000, -2.000000, 0.000000>, <1.000000, -2.000000, 0.000000>,
<1.000000, -2.000000, 0.000000>, <1.000000, -2.000000, 0.000000>,
      <-2.000000, -1.000000, 0.000000>, <-1.000000, -1.000000, 0.200000>,
<0.000000, -1.000000, 0.200000>, <1.000000, -1.000000, 0.200000>,
      <-2.000000, 0.000000, 0.000000>, <-1.000000, 0.000000, 0.200000>,
<0.000000, 0.000000, 0.200000>, <1.000000, 0.000000, 0.200000>,
      <-2.000000, 1.000000, 0.000000>, <-1.000000, 1.000000, 0.200000>,
<0.000000, 1.000000, 0.200000>, <1.000000, 1.000000, 0.200000>
    }
  }
  material {
    Material2
  }
  translate  1.0*z
}

Am I just stupid? Or is this normal? And if so Why?

Napivo


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.